package eaxm;
import java.util.Scanner;

/**
 * @Auther:小陈的Java
 */
public class Number1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("输入一个数字：");
        int a = input.nextInt();
        String s = "";
        while (a/10>0){
            int b = a%10;
            a =a/10;
            s = s+b;
        }
        s = s+a;
        System.out.println(s);
    }
}
